package T2;

class Outer {
    public int num = 10;
    class Inner {
        public int num = 20;
        public void show() {
            int num  = 30;
            System.out.println(num);
            System.out.println(new Outer().num);
            System.out.println(this.num);
        }
    }
}

public class InnerClassDemo2 {
    public static void main(String[] args) {
        Outer.Inner inner=new Outer().new Inner();
        inner.show();
    }
}
